package com.suyuan.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class IllnessprocessExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public IllnessprocessExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIllnessidIsNull() {
            addCriterion("IllnessID is null");
            return (Criteria) this;
        }

        public Criteria andIllnessidIsNotNull() {
            addCriterion("IllnessID is not null");
            return (Criteria) this;
        }

        public Criteria andIllnessidEqualTo(Integer value) {
            addCriterion("IllnessID =", value, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidNotEqualTo(Integer value) {
            addCriterion("IllnessID <>", value, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidGreaterThan(Integer value) {
            addCriterion("IllnessID >", value, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidGreaterThanOrEqualTo(Integer value) {
            addCriterion("IllnessID >=", value, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidLessThan(Integer value) {
            addCriterion("IllnessID <", value, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidLessThanOrEqualTo(Integer value) {
            addCriterion("IllnessID <=", value, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidIn(List<Integer> values) {
            addCriterion("IllnessID in", values, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidNotIn(List<Integer> values) {
            addCriterion("IllnessID not in", values, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidBetween(Integer value1, Integer value2) {
            addCriterion("IllnessID between", value1, value2, "illnessid");
            return (Criteria) this;
        }

        public Criteria andIllnessidNotBetween(Integer value1, Integer value2) {
            addCriterion("IllnessID not between", value1, value2, "illnessid");
            return (Criteria) this;
        }

        public Criteria andGidIsNull() {
            addCriterion("GID is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("GID is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("GID =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("GID <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("GID >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("GID >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("GID <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("GID <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("GID in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("GID not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("GID between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("GID not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andIllnessnameIsNull() {
            addCriterion("IllnessName is null");
            return (Criteria) this;
        }

        public Criteria andIllnessnameIsNotNull() {
            addCriterion("IllnessName is not null");
            return (Criteria) this;
        }

        public Criteria andIllnessnameEqualTo(String value) {
            addCriterion("IllnessName =", value, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameNotEqualTo(String value) {
            addCriterion("IllnessName <>", value, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameGreaterThan(String value) {
            addCriterion("IllnessName >", value, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameGreaterThanOrEqualTo(String value) {
            addCriterion("IllnessName >=", value, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameLessThan(String value) {
            addCriterion("IllnessName <", value, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameLessThanOrEqualTo(String value) {
            addCriterion("IllnessName <=", value, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameLike(String value) {
            addCriterion("IllnessName like", value, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameNotLike(String value) {
            addCriterion("IllnessName not like", value, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameIn(List<String> values) {
            addCriterion("IllnessName in", values, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameNotIn(List<String> values) {
            addCriterion("IllnessName not in", values, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameBetween(String value1, String value2) {
            addCriterion("IllnessName between", value1, value2, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIllnessnameNotBetween(String value1, String value2) {
            addCriterion("IllnessName not between", value1, value2, "illnessname");
            return (Criteria) this;
        }

        public Criteria andIlltimeIsNull() {
            addCriterion("IllTime is null");
            return (Criteria) this;
        }

        public Criteria andIlltimeIsNotNull() {
            addCriterion("IllTime is not null");
            return (Criteria) this;
        }

        public Criteria andIlltimeEqualTo(Date value) {
            addCriterion("IllTime =", value, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeNotEqualTo(Date value) {
            addCriterion("IllTime <>", value, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeGreaterThan(Date value) {
            addCriterion("IllTime >", value, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeGreaterThanOrEqualTo(Date value) {
            addCriterion("IllTime >=", value, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeLessThan(Date value) {
            addCriterion("IllTime <", value, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeLessThanOrEqualTo(Date value) {
            addCriterion("IllTime <=", value, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeIn(List<Date> values) {
            addCriterion("IllTime in", values, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeNotIn(List<Date> values) {
            addCriterion("IllTime not in", values, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeBetween(Date value1, Date value2) {
            addCriterion("IllTime between", value1, value2, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlltimeNotBetween(Date value1, Date value2) {
            addCriterion("IllTime not between", value1, value2, "illtime");
            return (Criteria) this;
        }

        public Criteria andIlldegreeIsNull() {
            addCriterion("IllDegree is null");
            return (Criteria) this;
        }

        public Criteria andIlldegreeIsNotNull() {
            addCriterion("IllDegree is not null");
            return (Criteria) this;
        }

        public Criteria andIlldegreeEqualTo(String value) {
            addCriterion("IllDegree =", value, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeNotEqualTo(String value) {
            addCriterion("IllDegree <>", value, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeGreaterThan(String value) {
            addCriterion("IllDegree >", value, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeGreaterThanOrEqualTo(String value) {
            addCriterion("IllDegree >=", value, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeLessThan(String value) {
            addCriterion("IllDegree <", value, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeLessThanOrEqualTo(String value) {
            addCriterion("IllDegree <=", value, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeLike(String value) {
            addCriterion("IllDegree like", value, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeNotLike(String value) {
            addCriterion("IllDegree not like", value, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeIn(List<String> values) {
            addCriterion("IllDegree in", values, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeNotIn(List<String> values) {
            addCriterion("IllDegree not in", values, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeBetween(String value1, String value2) {
            addCriterion("IllDegree between", value1, value2, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIlldegreeNotBetween(String value1, String value2) {
            addCriterion("IllDegree not between", value1, value2, "illdegree");
            return (Criteria) this;
        }

        public Criteria andIsinfectIsNull() {
            addCriterion("IsInfect is null");
            return (Criteria) this;
        }

        public Criteria andIsinfectIsNotNull() {
            addCriterion("IsInfect is not null");
            return (Criteria) this;
        }

        public Criteria andIsinfectEqualTo(String value) {
            addCriterion("IsInfect =", value, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectNotEqualTo(String value) {
            addCriterion("IsInfect <>", value, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectGreaterThan(String value) {
            addCriterion("IsInfect >", value, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectGreaterThanOrEqualTo(String value) {
            addCriterion("IsInfect >=", value, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectLessThan(String value) {
            addCriterion("IsInfect <", value, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectLessThanOrEqualTo(String value) {
            addCriterion("IsInfect <=", value, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectLike(String value) {
            addCriterion("IsInfect like", value, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectNotLike(String value) {
            addCriterion("IsInfect not like", value, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectIn(List<String> values) {
            addCriterion("IsInfect in", values, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectNotIn(List<String> values) {
            addCriterion("IsInfect not in", values, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectBetween(String value1, String value2) {
            addCriterion("IsInfect between", value1, value2, "isinfect");
            return (Criteria) this;
        }

        public Criteria andIsinfectNotBetween(String value1, String value2) {
            addCriterion("IsInfect not between", value1, value2, "isinfect");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("Description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("Description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("Description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("Description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("Description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("Description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("Description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("Description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("Description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("Description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("Description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("Description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("Description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("Description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andProcessIsNull() {
            addCriterion("PROCESS is null");
            return (Criteria) this;
        }

        public Criteria andProcessIsNotNull() {
            addCriterion("PROCESS is not null");
            return (Criteria) this;
        }

        public Criteria andProcessEqualTo(String value) {
            addCriterion("PROCESS =", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotEqualTo(String value) {
            addCriterion("PROCESS <>", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessGreaterThan(String value) {
            addCriterion("PROCESS >", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessGreaterThanOrEqualTo(String value) {
            addCriterion("PROCESS >=", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessLessThan(String value) {
            addCriterion("PROCESS <", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessLessThanOrEqualTo(String value) {
            addCriterion("PROCESS <=", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessLike(String value) {
            addCriterion("PROCESS like", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotLike(String value) {
            addCriterion("PROCESS not like", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessIn(List<String> values) {
            addCriterion("PROCESS in", values, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotIn(List<String> values) {
            addCriterion("PROCESS not in", values, "process");
            return (Criteria) this;
        }

        public Criteria andProcessBetween(String value1, String value2) {
            addCriterion("PROCESS between", value1, value2, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotBetween(String value1, String value2) {
            addCriterion("PROCESS not between", value1, value2, "process");
            return (Criteria) this;
        }

        public Criteria andMedicineIsNull() {
            addCriterion("Medicine is null");
            return (Criteria) this;
        }

        public Criteria andMedicineIsNotNull() {
            addCriterion("Medicine is not null");
            return (Criteria) this;
        }

        public Criteria andMedicineEqualTo(String value) {
            addCriterion("Medicine =", value, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineNotEqualTo(String value) {
            addCriterion("Medicine <>", value, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineGreaterThan(String value) {
            addCriterion("Medicine >", value, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineGreaterThanOrEqualTo(String value) {
            addCriterion("Medicine >=", value, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineLessThan(String value) {
            addCriterion("Medicine <", value, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineLessThanOrEqualTo(String value) {
            addCriterion("Medicine <=", value, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineLike(String value) {
            addCriterion("Medicine like", value, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineNotLike(String value) {
            addCriterion("Medicine not like", value, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineIn(List<String> values) {
            addCriterion("Medicine in", values, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineNotIn(List<String> values) {
            addCriterion("Medicine not in", values, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineBetween(String value1, String value2) {
            addCriterion("Medicine between", value1, value2, "medicine");
            return (Criteria) this;
        }

        public Criteria andMedicineNotBetween(String value1, String value2) {
            addCriterion("Medicine not between", value1, value2, "medicine");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNull() {
            addCriterion("StartTime is null");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNotNull() {
            addCriterion("StartTime is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimeEqualTo(Date value) {
            addCriterion("StartTime =", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotEqualTo(Date value) {
            addCriterion("StartTime <>", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThan(Date value) {
            addCriterion("StartTime >", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("StartTime >=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThan(Date value) {
            addCriterion("StartTime <", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThanOrEqualTo(Date value) {
            addCriterion("StartTime <=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeIn(List<Date> values) {
            addCriterion("StartTime in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotIn(List<Date> values) {
            addCriterion("StartTime not in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeBetween(Date value1, Date value2) {
            addCriterion("StartTime between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotBetween(Date value1, Date value2) {
            addCriterion("StartTime not between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("EndTime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("EndTime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("EndTime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("EndTime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("EndTime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EndTime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("EndTime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("EndTime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("EndTime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("EndTime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("EndTime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("EndTime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("Result is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("Result is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(String value) {
            addCriterion("Result =", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotEqualTo(String value) {
            addCriterion("Result <>", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThan(String value) {
            addCriterion("Result >", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThanOrEqualTo(String value) {
            addCriterion("Result >=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThan(String value) {
            addCriterion("Result <", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThanOrEqualTo(String value) {
            addCriterion("Result <=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLike(String value) {
            addCriterion("Result like", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotLike(String value) {
            addCriterion("Result not like", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultIn(List<String> values) {
            addCriterion("Result in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotIn(List<String> values) {
            addCriterion("Result not in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultBetween(String value1, String value2) {
            addCriterion("Result between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotBetween(String value1, String value2) {
            addCriterion("Result not between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}